import 'package:duqing/http/Http.dart';
///歌曲数据层
class UserService {
  static const String rootPath = '/api/user/';
  static const String listPath = '$rootPath/list';
  static const String infoPath = '$rootPath/info';


  ///列表数据
  static Future getUsers({int page = 1, int limit = 10,String type}) async {
    final response = await Http.post(
      listPath,
      data: {'page': page, 'limit': limit,'type':type},///'DQ_SINGER'
    );
    Map<String, dynamic> result = response['page'];
    return result;
  }
}
